import React from 'react';
import { Dimensions, View } from 'react-native';

const ResponsiveLayout = ({ children }) => {
  const isMobile = Dimensions.get('window').width < 768;

  return (
    <View style={isMobile ? styles.mobile : styles.desktop}>
      {children}
    </View>
  );
};

export default ResponsiveLayout;